import service from '@/utils/request'

// @Summary 获取服务站用户数据大屏
// @Produce  application/json
// @Param data body {username:"string",password:"string"}
// @Router /dashboard/user [get]
export const getUser = (params) => {
  return service({
    url: '/dashboard/user',
    method: 'get',
    params
  })
}


export const getSteward = (params) => {
  return service({
    url: '/dashboard/steward',
    method: 'get',
    params
  })
}

export const getAllUserData = () => {
  return service({
    url: '/dashboard/getAllUserData',
    method: 'get',
  })
}

export const getAllStewardData = () => {
  return service({
    url: '/dashboard/getAllStewardData',
    method: 'get',
  })
}

export const getScUserData = () => {
  return service({
    url: '/dashboard/getScUserData',
    method: 'get',
  })
}

export const getScStewardData = () => {
  return service({
    url: '/dashboard/getScStewardData',
    method: 'get',
  })
}